home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9230 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Schildt <- Advanced Books
  5. Date: 07 Mar 1996 16:32:58 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Mar7093258@qcd.lanl.gov>
  8. References: <8BA8405.02C70020DE.uuout@sourcebbs.com> <4gnt96INN205@keats.ugrad.cs.ubc.ca>
  9.     <4h4q0v$24v@redstone.interpath.net> <danpop.825687663@rscernix>
  10.     <4he6hb$ahn@solutions.solon.com> <danpop.826121528@rscernix>
  11.     <4hmojk$ij2@news.interpath.net>
  12. NNTP-Posting-Host: qcd.lanl.gov
  13. Mime-Version: 1.0
  14. Content-Type: text
  15. In-reply-to: softbase@mercury.interpath.net's message of 7 Mar 1996 13:33:40 GMT
  16.  
  17. In article <4hmojk$ij2@news.interpath.net>
  18. softbase@mercury.interpath.net (Scott McMahan - Softbase Systems) writes:
  19.  
  20. <snip>
  21. SMSS: points (how many architectures have size_t not set to a word?), but
  22.  
  23. Right in this newsgroup someone complained that the his/her computer
  24. thought that sizeof was not working. Guess what? sizeof was returning
  25. unsigned long which was longer than int in this particular
  26. installation, and because of the byte order %d was giving the wrong
  27. result ...
  28.  
  29. If I remember correctly, it was some compiler on a Mac.
  30.  
  31. In any case, it is not a `technical point'. It is something everyone
  32. has to be carefult about when they use abstract or enumerated types. I
  33. am surprised that _anyone_ who claims to write books on C is unaware
  34. of such simple stuff.
  35.  
  36. Cheers
  37. Tanmoy
  38. --
  39. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  40. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  41. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  42. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  43. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  44. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  45.